package codeblock;

/**
 * @description:
 * @Author yyp
 * @time
 */
public class CodeBlockTest01 {
    public static void main(String[] args) {
        System.out.println("total = "+Person.total);
        System.out.println("total = "+Person.total);
    }
}

class Person01{
    public static int total;
    static {
        total = 100;
        System.out.println("in static block");
    }
}
